Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip leading invalid characters from Schema (fix #489) #538

Closed

Conversation

TravisChong
Copy link
Contributor

@TravisChong TravisChong commented Jul 12, 2023

Fixed Issue #489

Updated function toSafeString in src/utils.ts to detect and remove all leading invalid characters.

Edit: Is relevant to issues #151 and #185
Would pre-empting invalid characters with an underscore to make them legal be more desirable?

@TravisChong TravisChong marked this pull request as ready for review July 14, 2023 21:11
@bcherny
Copy link
Owner

bcherny commented Aug 27, 2023

Thanks for the contribution! Let's see if we can go with a more general approach here: #539.

@bcherny bcherny closed this Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants